import { request, HttpMethod, restartTimes, RequestConfig } from './request'
// 添加体力状况评分相关操作

export const addPCS = (PCS: number, patientUid: number) => {
  console.log("Sending request with patientUid:", patientUid, "and PCS:", PCS);
  const config = <RequestConfig>{
    url: `/patient/patientBase/edit_physical_strength`,
    method: HttpMethod.POST,
    data: {
      patientUid: patientUid,
      physicalStrength: PCS,
    }
  }
  return request(config);
}